package net.minecraft.src;

import java.util.Map;

import anyVehicle.BlockVehicleCreator;
import anyVehicle.RenderVehicle;
import anyVehicle.TileEntityRendererScaffold;
import anyVehicle.TileEntityScaffold;
import anyVehicle.Vehicle;

public class mod_AnyVehicle extends BaseMod {

	public static final int BLOCK_ID_VEHICLE_CREATOR = 240;
	public static final Block vehicleCreator = new BlockVehicleCreator(BLOCK_ID_VEHICLE_CREATOR, 0);


	@Override
	public String getVersion() {
		return "0.1";
	}

	@Override
	public void AddRenderer(Map map) {
		map.put(Vehicle.class, new RenderVehicle());
	}

	public mod_AnyVehicle() {
		ModLoader.RegisterBlock(vehicleCreator);
//		MinecraftForgeClient.preloadTexture("/anyVehicleResources/anyVehicleBlockTextures.png");
		ModLoader.AddName(vehicleCreator, "Vehicle Creator");


		ModLoader.AddRecipe(new ItemStack(vehicleCreator, 1), new Object[] { "#", "#", "#", Character.valueOf('#'), Item.ingotIron });

		ModLoader.RegisterEntityID(Vehicle.class, "Vehicle", ModLoader.getUniqueEntityId());

		ModLoader.RegisterTileEntity(TileEntityScaffold.class, "TileEntityScaffold", new TileEntityRendererScaffold());
	}

	@Override
	public void load() {
		// TODO Auto-generated method stub
		
	}

}
